﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PlayMenu.ascx.cs" Inherits="VirtualTournaments.Frontend.MenuControls.TournamentManagerMenu.InnerControls.PlayMenu" %>

<%@ Register TagPrefix="GenericControls" TagName="LeagueTournamentPlay" Src="~/MenuControls/GenericControls/LeagueTournamentPlayInfo.ascx" %>
<%@ Register TagPrefix="GenericControls" TagName="RoundTournamentPlay" Src="~/MenuControls/GenericControls/RoundTournamentPlayInfo.ascx" %>

<link href="../../../App_Themes/TournamentManager/TournamentManager.css" rel="stylesheet" type="text/css" />

<asp:Panel ID="ContentPanel" runat="server">
    <div id="TournamentManagerPlayMenu" class="TournamentManagerOptionsDivCssClass">
        <asp:MultiView ID="PlayMenuViewControler" runat="server" ActiveViewIndex="0">
        
        <asp:View ID="TournamentSelectionView" runat="server">
            <asp:Table ID="TournamentsTable" runat="server" Width="100%" CssClass="CreateTournamentTableCssClass">
                <asp:TableHeaderRow ID="TournamentsTableHeaderRow" runat="server" >
                    <asp:TableHeaderCell ID="TournamentNameHeaderCell" >
                        Tournament
                    </asp:TableHeaderCell>
                    <asp:TableHeaderCell>
                        Type
                    </asp:TableHeaderCell>
                    <asp:TableHeaderCell>
                        Play
                    </asp:TableHeaderCell>
                </asp:TableHeaderRow>
            </asp:Table>
            
            <div id="ClickToPlayDiv" class="ClickToPlayDivCssClass">
                <asp:Label ID="ClickToPlayLabel" runat="server" CssClass="ClickToPlayLabelCssClass" >
                </asp:Label>
            </div>
       
            <div id="ButtonBackDiv" class="ButtonBackDivCssClass">
                <asp:Button ID="GoBackButton" runat="server" OnClick="GoBackButton_OnClick" Text="< Go Back >" 
                CssClass="CreateTournamentButtonCssClass" BackColor="Transparent" BorderStyle="None"/>
            </div>
        
        </asp:View>
        
        <asp:View ID="LeagueTournamentPlayInfoView" runat="server" >
            <GenericControls:LeagueTournamentPlay ID="LeagueTournamentPlayControl" runat="server"></GenericControls:LeagueTournamentPlay>
        </asp:View>
        
        <asp:View ID="RoundTournamentPlayInfoView" runat="server" >
            <GenericControls:RoundTournamentPlay ID="RoundTournamentPlayControl" runat="server"></GenericControls:RoundTournamentPlay>
        </asp:View>
        
    </asp:MultiView>
    </div>
</asp:Panel>
